$(function(){
    var key = getCookie('key');
    if(!key){
        window.location.href = WapSiteUrl+'/tmpl/member/login.html';
    }
    var username = '';
    if(key){
        $.ajax({
            type:'post',
            url:ApiUrl+"/index.php?act=member_index&op=transfer_point_log",
            data:{key:key},
            dataType:'json',
            success:function(result){
                if (result){
                    var html = template.render('log-list-tmpl', result);
                    $("#log_list").html(html);
                }
            }
        });
    }
});